package com.zsx.shopping.user.service;

import com.zsx.shopping.common.api.user.dto.LoginDto;
import com.zsx.shopping.common.api.user.dto.RegisterDto;
import com.zsx.shopping.common.session.UserVO;
import com.zsx.shopping.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserService extends IService<User> {

    Boolean exist(String username);

    void register(RegisterDto registerDto);

    UserVO login(LoginDto loginDto);
}
